package com.hxkj.mq.config;

public final class MQConstant {

    private MQConstant(){}

    public static final String CMS_EXCHANGE = "cms.exchange";

    /**
     * 定义文章的队列和交换机
     */
    public static final String ARTICLE_QUEUE = "cms.article.queue";
    public static final String ARTICLE_ROUTING_KEY = "cms.article.queue";

    /**
     * 定义分类的队列和交换机
     */
    public static final String COLUMN_QUEUE = "cms.column.queue";
    public static final String COLUMN_ROUTING_KEY = "cms.column.queue";

    /**
     * 定义频道的队列和交换机
     */
    public static final String CHANNEL_QUEUE = "cms.channel.queue";
    public static final String CHANNEL_ROUTING_KEY = "cms.channel.queue";

    /**
     * 定义单页的队列和交换机
     */
    public static final String LEAFLET_QUEUE = "cms.leaflet.queue";
    public static final String LEAFLET_ROUTING_KEY = "cms.leaflet.queue";

    /**
     * 定义tag聚合页的队列和交换机
     */
    public static final String TAGS_QUEUE = "cms.tags.queue";
    public static final String TAGS_ROUTING_KEY = "cms.tags.queue";

    /**
     * 定义tag详情页的队列和交换机
     */
    public static final String TAG_INFO_QUEUE = "cms.tag.info.queue";
    public static final String TAG_INFO_ROUTING_KEY = "cms.tag.info.queue";
}
